﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;

namespace DAO
{
    public class ChiTietDonDatHangDAO : DataProvider
    {
        public void ThemChiTietDonDatHang(ChiTietDonDatHangDTO ctDH)
        {
            connect();
            string sql = "INSERT INTO ChiTietDonDatHang VALUES(" + ctDH.ID + "," + ctDH.NVLID + ",0," + ctDH.SOLUONG + ")";
            executeNonQuery(sql);
            disconnect();
        }
    }
}
